* {
  color: #5686a5;
  /* box-sizing: border-box; */
  

}
h1 {
  text-align: center;

}
body {
  background-color: #f8f4ea;
}
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 30px;
  width: 471px;
  height: 471px;
  margin: 0 auto;

}


.row  {
  flex: 1;
  display: flex;

}
.row .cell {
  flex: 1;
  border: 3px solid;
}

#message {
  position: absolute;
  z-index: 2;
  display: none;
  border: 1px solid;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: rgba(0,0,0,.2);
}
.game-message #winner {
  color: #fff;
  font-size: 50px;
}
.game-message #restart {
  height: 40px;
  width: 100px;
}
.game-message {
  margin-top: 50%;
  transform: translateY(-50%);
}

.readx::before {

  content: 'X';
  color: rgba(0,0,0,.3);
  font-size: 80px;
  font-weight: 400;
  margin-left: 50px;
  line-height: 150px;
}
.reado::before {

  content: 'O';
  color: rgba(0,0,0,.3);
  font-size: 80px;
  font-weight: 400;
  margin-left: 50px;
  line-height: 150px;
}

.x::before {

  content: 'X';
  color: #5887a4;
  font-size: 80px;
  font-weight: 400;
  margin-left: 50px;
  line-height: 150px;
}
.o::before {

  content: 'O';
  color: #9ebf22;
  font-size: 80px;
  font-weight: 400;
  margin-left: 50px;
  line-height: 150px;
}
/* .cell:hover::before {
  content: 'O';
  color: rgba(0,0,0,.3);
  font-size: 80px;
  font-weight: 400;
  margin-left: 50px;
  line-height: 150px;
} */